package hk.polyu;


import java.util.*;

public class SensorData
{
	public int 		mNodeID;
    public double 	mDistance;
    public Date 	mSampleDate;
	
	/*
	 * Default Ctr.
	 */
	SensorData()
	{
		// default download time
		mSampleDate = new Date();
	}
	
	/*
	 * Ctr with params.
	 */
	SensorData(int id, double dist, Date t)
	{
		this.mDistance = dist;
		this.mNodeID = id;
		this.mSampleDate = t;
	}
	
}
